<?php
	require('jacked_functions.php');
	
	if(!validateLogin()){
		exit();
	}
	
	require('jacked_configVars.php');
	require('jacked_configtweeter.php');
	
	$pageType = "jacked";
	$pageTitle = "JACKED Manager";
		
	require('bodyTop.php');
	echo JACKED_HEADING_STRING;
	
	
?>

<h1>Template Fields</h1>

<h3>Announcement</h3>

<?php 
    $query = "SELECT V.value, P.id as pageID FROM " . JACKED_TEMPLATE_DB_VALUES . " V, " . JACKED_TEMPLATE_DB_PAGES . " P, " . JACKED_TEMPLATE_DB_ANNOUNCEMENT . " A WHERE V.id = A.Value AND A.Page = P.id";

<form name="template_announcement" action="jacked_managetemplate.php">
    <textarea id="" name=""><?php $announcement['value'] ?></textarea>
</form>

<div class="blogspace"></div>
<a href="jacked_admin.php">Cancel/Back</a>


<?php	
	require('bodyBottom.php');
?>